package com.mai.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mai.demo.entity.Class1;
import com.mai.demo.entity.domain.SchoolClass;
import org.apache.ibatis.annotations.Select;

/**
* @author MR
* @description 针对表【class】的数据库操作Mapper
* @createDate 2024-12-23 10:08:26
* @Entity generator.domain.Class
*/
public interface ClassMapper extends BaseMapper<SchoolClass> {

    @Select("select classNum as classId,className as className from class where className = #{className}")
    Class1 getList(String className);
}




